package com.rbfw.log.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created on 2018/4/27.
 *
 * @author sehuaqi.
 * 描述：
 */
@RestController
@RequestMapping("/log")
@RefreshScope
public class LogController {


//    @Value("${info.name}")
    private String infoName;

    @RequestMapping("/getInfo")
    public String getInfo(){

        return infoName;
    }

}
